package cn.stylefeng.guns.modular.vlt.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 志愿活动信息表
 * </p>
 *
 * @author 
 * @since 2020-12-16
 */
@TableName("vlt_active")
@Data
public class Active implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 活动id（北方网）
     */
    @TableField("act_id")
    private String actId;

    /**
     * 活动名称
     */
    @TableField("active_name")
    private String activeName;
    @TableField("base_name")
    private String baseName;

    /**
     * 负责人
     */
    @TableField("charge_person")
    private String chargePerson;

    /**
     * 活动简介
     */
    @TableField("summary")
    private String summary;

    /**
     * 活动地点
     */
    @TableField("place")
    private String place;

    /**
     * 服务类别（服务类别字典code）
     */
    @TableField("service_type")
    private String serviceType;

    /**
     * 报名开始时间
     */
    @TableField("start_time")
    private Date startTime;

    /**
     * 报名结束时间
     */
    @TableField("end_time")
    private Date endTime;

    /**
     * 预计活动时长
     */
    @TableField("expect_duration")
    private BigDecimal expectDuration;

    /**
     * 预计可得积分
     */
    @TableField("expect_points")
    private BigDecimal expectPoints;

    /**
     * 发起单位
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 发起人
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 活动状态   0：草稿 1:提交  2：通过 3：驳回
     */
    @TableField("status")
    private String status;

    /**
     * 活动年度
     */
    @TableField("year")
    private String year;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    @TableField("del_flag")
    private Boolean delFlag;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getActId() {
        return actId;
    }

    public void setActId(String actId) {
        this.actId = actId;
    }

    public String getActiveName() {
        return activeName;
    }

    public void setActiveName(String activeName) {
        this.activeName = activeName;
    }

    public String getChargePerson() {
        return chargePerson;
    }

    public void setChargePerson(String chargePerson) {
        this.chargePerson = chargePerson;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getExpectDuration() {
        return expectDuration;
    }

    public void setExpectDuration(BigDecimal expectDuration) {
        this.expectDuration = expectDuration;
    }

    public BigDecimal getExpectPoints() {
        return expectPoints;
    }

    public void setExpectPoints(BigDecimal expectPoints) {
        this.expectPoints = expectPoints;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Active{" +
        "id=" + id +
        ", actId=" + actId +
        ", activeName=" + activeName +
        ", chargePerson=" + chargePerson +
        ", summary=" + summary +
        ", place=" + place +
        ", serviceType=" + serviceType +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", expectDuration=" + expectDuration +
        ", expectPoints=" + expectPoints +
        ", deptId=" + deptId +
        ", userId=" + userId +
        ", status=" + status +
        ", year=" + year +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", delFlag=" + delFlag +
        "}";
    }
}
